package org.internna.expensetracker.model.support;

import java.math.BigDecimal;

public final class IncomeExpense extends NameValuePair<BigDecimal, BigDecimal> {

	public IncomeExpense() {
		this(BigDecimal.ZERO, BigDecimal.ZERO);
	}

	public IncomeExpense(BigDecimal key, BigDecimal value) {
		super(key, value);
	}

	@Override public String toString() {
		return "Income: " + getKey() + ", Expenses: " + getValue();
	}

}
